/**
 * File: ArcStatusReset.java
 * Created by: mhaimel
 * Created on: Mar 24, 2010
 * CVS:  $Id: ArcStatusReset.java 1.0 Mar 24, 2010 9:11:00 AM mhaimel Exp $
 */
package uk.ac.ebi.curtain.model.graph.impl;

import uk.ac.ebi.curtain.model.graph.Arc;
import uk.ac.ebi.curtain.model.graph.GraphAccess.TouchEach;

/**
 * @author mhaimel
 *
 */
public class ArcStatusReset<N,A> implements TouchEach<Arc<N, A>> {
	
	private final Integer status;

	public ArcStatusReset(Integer status) {
		this.status = status;
	}

	@Override
	public void touch(Arc<N,A> arc) {
		arc.setStatus(status);
	}
}
